package com.thghh.maven;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * mavne依赖
 *
 * @author pengzhikang
 * @date 2022/12/16 17:10
 * @since 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "dependency")
public class Dependency {

    /** 组id */
    private String groupId;

    /** 工件id */
    private String artifactId;

    /** 类型 */
    @JsonIgnore
    private String type;

    /** 版本 */
    private String version;

    /** 范围 */
    @JsonIgnore
    private String scope;
}
